import Ajax from './Ajax'


/**
 *  1、获取采购订单列表 api
 * @param {object} params 
 * @returns  promise
 */
export  const  purchaseListApi = params =>Ajax({
    url:'/purchase/list',
    params
})



/**
 *   2、更新审批状态信息api
 * @param {object} data 
 * @returns promise
 */
export  const  purchaseUpdateApi =  data =>Ajax({
    url:'/purchase/flow',
    data,
    method:'POST'
})